{% extends "admin/base.html" %}

{% block content %}

<div class="wrap"> 
    <div id="icon-edit-comments" class="icon32"><br /></div> 
    <h2>Comments</h2> 
 
<div class="clear"></div>   
    


<table class="widefat comments fixed" cellspacing="0"> 
	<thead> 
	    <tr> 
		    <th scope="col" id="cb" class="manage-column column-cb check-column" style=""><input type="checkbox" /></th> 
		    <th scope="col" id="author" class="manage-column column-author" style="">Author</th> 
		    <th scope="col" id="comment" class="manage-column column-comment" style="">Comment</th> 
		    <th scope="col" id="response" class="manage-column column-response" style="">In Response To</th> 
	    </tr> 
	</thead> 
 
	<tfoot> 
	    <tr> 
		    <th scope="col"  class="manage-column column-cb check-column" style=""><input type="checkbox" /></th> 
		    <th scope="col"  class="manage-column column-author" style="">Author</th> 
		    <th scope="col"  class="manage-column column-comment" style="">Comment</th> 
		    <th scope="col"  class="manage-column column-response" style="">In Response To</th> 
	    </tr> 
	</tfoot>  
    <tbody id="the-comment-list" class="list:comment"> 
        {% for comment_item in comments %}
        <tr id='comment-1' class='approved'>
            <th scope="row" class="check-column"><input type='checkbox' name='delete_comments[]' value='1' /></th>
            <td class="author column-author">
                <strong><!--img alt='' src='' class='avatar avatar-32 photo avatar-default' height='32' width='32' /--> {{ comment_item.user_name }}</strong><br />
                <a href="edit-comments.php?s=&amp;mode=detail"></a>
            </td>
            <td class="comment column-comment"><div id="submitted-on"><a href="http://localhost/php/wordpress/2011/01/06/hello-world/#comment-1">{{ comment_item.submit_date| date }}</a></div>
                <p>{{ comment_item.comment }}</p> 
                <div id="inline-1" class="hidden"> 
                <textarea class="comment" rows="1" cols="1">{{ comment_item.comment }}</textarea> 
                <div class="author-email"></div> 
                <div class="author">Mr WordPress</div> 
                <div class="author-url">http://wordpress.org/</div> 
                <div class="comment_status">1</div> 
                </div> 
                <div class="row-actions"><span class='approve'><a href='comment.php?action=approvecomment&#038;p=1&#038;c=1&#038;_wpnonce=62fbf87c57' class='dim:the-comment-list:comment-1:unapproved:e7e7d3:e7e7d3:new=approved vim-a' title='Approve this comment'>Approve</a></span><span class='unapprove'><a href='comment.php?action=unapprovecomment&#038;p=1&#038;c=1&#038;_wpnonce=62fbf87c57' class='dim:the-comment-list:comment-1:unapproved:e7e7d3:e7e7d3:new=unapproved vim-u' title='Unapprove this comment'>Unapprove</a></span><span class='reply hide-if-no-js'> | <a onclick="commentReply.open('1','1');return false;" class="vim-r" title="Reply to this comment" href="#">Reply</a></span><span class='quickedit hide-if-no-js'> | <a onclick="commentReply.open('1','1','edit');return false;" class="vim-q" title="Quick Edit" href="#">Quick&nbsp;Edit</a></span><span class='edit'> | <a href='comment.php?action=editcomment&amp;c=1' title='Edit comment'>Edit</a></span><span class='spam'> | <a href='comment.php?action=spamcomment&#038;p=1&#038;c=1&#038;_wpnonce=7f4c4a9f66' class='delete:the-comment-list:comment-1::spam=1 vim-s vim-destructive' title='Mark this comment as spam'>Spam</a></span><span class='trash'> | <a href='comment.php?action=trashcomment&#038;p=1&#038;c=1&#038;_wpnonce=7f4c4a9f66' class='delete:the-comment-list:comment-1::trash=1 delete vim-d vim-destructive' title='Move this comment to the trash'>Trash</a></span></div>
            </td>
            <td class="response column-response">
                <div class="response-links"><span class="post-com-count-wrapper"><a href='http://localhost/php/wordpress/wp-admin/post.php?post=1&amp;action=edit'>{{ comment_item.ContentType.name }}</a><br /><a href='edit-comments.php?p=1' title='0 pending' class='post-com-count'><span class='comment-count'>1</span></a></span> <a href='http://localhost/php/wordpress/2011/01/06/hello-world/'>#</a></div>
            </td>
        </tr> 
        {% endfor %}
    </tbody>  
</table> 


 
</div> 
        
{% endblock %}   